<!doctype html>
<html>
{include file="head.html"}

<body>
<div class="header" >
    
    <div class="title">夜猫店管理中心</div>
     
  </div>
<style>
.ymdiantools .item a{display:block; height:40px; line-height:40px; margin:0px 5px; border-bottom:1px solid #eee;}
</style>
{get data=shop model=ymdian fun=selectRow("id=".SHOPID)}
{get data=d1 model=stat_shoporder_day fun=selectRow(" shopid=".SHOPID." AND k='ymdian' AND kday='".date("Ymd")."' ")}
		<div class="pd-5">总营收：￥{$shop.balance}元 今日收入： ￥{$d1.money|intval} 提现额：￥{$shop.balance|intval}</div>
	<div class="ymdiantools">
    
    	<div class="item"><a href="/index.php?m=ymdian&id={const.SHOPID}" target="_blank">查看店铺</a></div>
        <div class="item"><a href="{$appymdian}?m=ymdian_order">订单管理</a></div>
        <div class="item"><a href="{$appymdian}?m=stat_shoporder_day">收入统计</a></div>
        <div class="item"><a href="{$appymdian}?m=ymdian_pay_log">收支明细</a></div>
        <div class="item"><a href="{$appymdian}?m=tixian">提现申请</a></div>
    	<div class="item"><a href="{$appymdian}?m=ymdian">店铺编辑</a></div>
       
        <div class="item"><a href="{$appymdian}?m=ymdian_product">产品管理</a></div>
        <div class="item"><a href="{$appymdian}?m=ymdian_product&a=order">进货</a></div>
     
        <div class="item"><a href="{$appymdian}?m=kcorder">进货订单</a></div>
        <div class="item"><a href="{$appymdian}?m=koudai_order_thshop">口袋退货接收</a></div>
        
           <div class="item"><a href="{$appymdian}?m=ymdian_product&a=back">退货</a></div>
        <div class="item"><a href="{$appymdian}?m=kcback">退货订单</a></div>
        <div class="item"><a href="{$appymdian}?m=ymdian_kclog">产品库存记录</a></div>
        <div class="item"><a href="{$appymdian}?m=ymdian_admin">账号管理</a></div>
        <div class="item"><a href="{$appymdian}?m=login&a=logout">退出管理</a></div>
    </div>

</body>
</html>
